package com.wenda.homeschooedu.biz;

import java.util.List;


import com.wenda.homeschooedu.dao.Icontactor;
import com.wenda.homeschooedu.daoimpl.ContactorService;
import com.wenda.homeschooedu.model.Parent;
import com.wenda.homeschooedu.model.Student;

public class ContactorManager {
	Icontactor service ;
	public ContactorManager() {
		service = new ContactorService();
	}

	public List<Student> getStudentsByClassId(int class_id){
		return service.getStudentAll(class_id);
	}
	
	public List<Parent> getParentsByClassId(int class_id){
		return service.getParentAll(class_id);
	}
}
